package com.hnas.eastsquare.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.eastsquare.dao.SediToBalanceRecordDao;
import com.hnas.eastsquare.orm.SediToBalanceRecord;

@Component("sediToBalanceRecordService")
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class SediToBalanceRecordServiceImpl implements SediToBalanceRecordService{

	@Autowired
	private SediToBalanceRecordDao sediToBalanceRecordDao;
	
	@Override
	public SediToBalanceRecord saveOrUpdate(SediToBalanceRecord sediToBalanceRecord) throws Exception{
		return this.sediToBalanceRecordDao.saveOrUpdate(sediToBalanceRecord);
	}

}
